package mysql

import "bluebell/models"

func GetCommunityList() (data []models.Community, err error) {
	var m []models.Community
	if err := DB.Find(&m).Error; err != nil {
		return nil, err
	}
	return m, nil
}
